﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Gurucore.Framework.DataAccess.Persistence.QueryLanguage
{
	public class RangeOperand : Operand
	{
		object m_lowerBound, m_upperBound;

		public RangeOperand(object p_lowerBound, object p_upperBound)
		{
			m_lowerBound = p_lowerBound;
			m_upperBound = p_upperBound;
		}

		public override string ToExpressionString(IExpressionMaker p_oExpressionMaker)
		{
			string sRange = string.Format("({0},{1})", m_lowerBound, m_upperBound);
			return sRange;
		}
	}
}
